import 'package:file_picker/file_picker.dart';
import 'package:get/get.dart';

class DeviceDocumentLogic extends GetxController {

  RxList<PlatformFile> files = RxList([]);

  @override
  void onInit() {
    super.onInit();
    files.add(PlatformFile(name: '文档.pdf', size: 25678));
    files.add(PlatformFile(name: '表格文档.xlsx', size: 25678));
    files.add(PlatformFile(name: '幻灯片文档.pptx', size: 25678));
    files.add(PlatformFile(name: '图片.png', size: 25678));
    files.add(PlatformFile(name: 'Word文档.docx', size: 25678));
    files.add(PlatformFile(name: '压缩文档.zip', size: 25678));
  }
}
